﻿using System;
using System.Collections.Generic;
using  cmdb.keede.common;

namespace cmdb.keede.entity
{
    public partial class VirtualHostInfo
    {
        public VirtualHostInfo()
        {
            ApplicationVirtualHosts = new HashSet<ApplicationVirtualHost>();
            GroupHost = new HashSet<GroupHost>();
        }

        public int Id { get; set; }
        public string AssetId { get; set; }
        public string Area { get; set; }
        public EnumDeviceType DeviceType { get; set; }
        public EnumOperationSystem OS { get; set; }

        public string OSVersion { get; set; }

        /// <summary>
        /// 系统管理员账号
        /// </summary>
        public string AdminName { get; set; }

        /// <summary>
        /// 系统管理员密码
        /// </summary>
        public string Password { get; set; }
        public string InnerIP { get; set; }
        public string OuterIP { get; set; }
        public int CPU { get; set; }
        public int HardDiskSize { get; set; }
        public int RAM { get; set; }
        public int NetworkBandwidth { get; set; }
        public string Maintainers { get; set; }
        public EnumVirtualHostStatus Status { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public DateTime ExpireTime { get; set; }
        public string Remark { get; set; }

        public User MaintainersNavigation { get; set; }
        public ICollection<ApplicationVirtualHost> ApplicationVirtualHosts { get; set; }
        public ICollection<GroupHost> GroupHost { get; set; }
    }
}
